package comp.style.theme
{
	/**
	 * 按钮的默认样式主题
	 */
	public class ButtonTheme
	{
		include "../PaddingStyles"//内边距离

		public function ButtonTheme()
		{			
			paddingTop=4;
			paddingLeft=4;
			paddingRight=4;
			paddingBottom=4;
			fontSharpness=10;
		}
		
//		include "../BorderStyles";//包含样式
//		include "../TextStyles";//包含样式
		
		private var _color:int=0xffffff;
		private var _textRollOverColor:int=0xf4f4f4;
		private var _textSelectedColor:int=0xffffff;
		private var _iconRightMargin:Number=0;
		private var _underline:Boolean=false;
		private var _fontSharpness:Number;
		//*****
		//皮肤
		//******
		private var _skin:Class;//", inherit="no", states="up, over, down, disabled, selectedUp, selectedOver, selectedDown, selectedDisabled")]
		
		/**
		 *  Name of the class to use as the default skin for the background and border. 
		 *  @default "mx.skins.halo.ButtonSkin"
		 */
		public function get skin():Class
		{
			return _skin;
		}
		
		/**
		 * @private
		 */
		public function set skin(value:Class):void
		{
			_skin = value;
		}
		
		private var _selectedSkin:Class;
		
		/**
		 * 选中的样式
		 */
		public function get selectedSkin():Class
		{
			return _selectedSkin;
		}
		
		public function set selectedSkin(value:Class):void
		{
			_selectedSkin = value;
		}
		
		
		private var _upSkin:Class;
		/**
		 *  Name of the class to use as the skin for the background and border
		 *  when the button is not selected and the mouse is not over the control.
		 *  
		 *  @default "mx.skins.halo.ButtonSkin"
		 */
		public function get upSkin():Class
		{
			return _upSkin;
		}
		
		/**
		 * @private
		 */
		public function set upSkin(value:Class):void
		{
			_upSkin = value;
		}
		
		
		private var _overSkin:Class;
		/**
		 *  Name of the class to use as the skin for the background and border
		 *  when the button is not selected and the mouse is over the control.
		 *  
		 *  @default "mx.skins.halo.ButtonSkin" 
		 */
		public function get overSkin():Class
		{
			return _overSkin;
		}
		
		/**
		 * @private
		 */
		public function set overSkin(value:Class):void
		{
			_overSkin = value;
		}
		
		private var _downSkin:Class;
		/**
		 *  Name of the class to use as the skin for the background and border
		 *  when the button is not selected and the mouse button is down.
		 *  
		 *  @default "mx.skins.halo.ButtonSkin"
		 */
		public function get downSkin():Class
		{
			return _downSkin;
		}
		
		/**
		 * @private
		 */
		public function set downSkin(value:Class):void
		{
			_downSkin = value;
		}

		/**
		 * 字体颜色
		 */
		public function get color():int
		{
			return _color;
		}

		public function set color(value:int):void
		{
			_color = value;
		}

		/**
		 * 鼠标移动上去字体颜色
		 */
		public function get textRollOverColor():int
		{
			return _textRollOverColor;
		}

		public function set textRollOverColor(value:int):void
		{
			_textRollOverColor = value;
		}

		/**
		 * 选择状态字体颜色
		 */
		public function get textSelectedColor():int
		{
			return _textSelectedColor;
		}

		public function set textSelectedColor(value:int):void
		{
			_textSelectedColor = value;
		}

		/**
		 * icon右边距离
		 */
		public function get iconRightMargin():Number
		{
			return _iconRightMargin;
		}

		/**
		 * @private
		 */
		public function set iconRightMargin(value:Number):void
		{
			_iconRightMargin = value;
		}

		/**
		 * 下划线
		 */
		public function get underline():Boolean
		{
			return _underline;
		}

		/**
		 * @private
		 */
		public function set underline(value:Boolean):void
		{
			_underline = value;
		}

		public function get fontSharpness():Number
		{
			return _fontSharpness;
		}

		public function set fontSharpness(value:Number):void
		{
			_fontSharpness = value;
		}


	}
}